package com.easylinkin.linkappapi.premeeting.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.easylinkin.linkappapi.common.model.BaseEntity;
import com.easylinkin.linkappapi.common.translate.CodeI18n;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 班前会表
 * </p>
 *
 * @author zl
 * @since 2025-06-30
 */
@CodeI18n
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rail_pre_meeting")
public class RailPreMeeting extends BaseEntity<RailPreMeeting> {

    /**
     * 项目ID(linkapp_tenant)
     */
    @TableField("tenant_id_")
    private String tenantId;

    /**
     * 网格点ID(关联rail_linkapp_grid_management_info.id)
     */
    @TableField("grid_id_")
    private Long gridId;

    /**
     * 班前会时间
     */
    @TableField("meeting_time_")
    private Date meetingTime;

    /**
     * 班前会内容/主题
     */
    @TableField("content_")
    private String content;

    /**
     * 班组名称
     */
    @TableField("team_name_")
    private String teamName;

    /**
     * 参会人数
     */
    @TableField("people_count_")
    private Integer peopleCount;

    /**
     * 监理现场照片URL
     */
    @TableField("supervisor_photo_url_")
    private String supervisorPhotoUrl;

    /**
     * 带班人员现场照片URL
     */
    @TableField("leader_photo_url_")
    private String leaderPhotoUrl;

    /**
     * 网格安全员现场照片URL
     */
    @TableField("safety_officer_photo_url_")
    private String safetyOfficerPhotoUrl;

    /**
     * 技术负责人现场照片URL
     */
    @TableField("technical_leader_photo_url_")
    private String technicalLeaderPhotoUrl;

    /**
     * 防护员现场照片URL
     */
    @TableField("guard_photo_url_")
    private String guardPhotoUrl;

    /**
     * 图片/影像文件URL列表(JSON格式)
     */
    @TableField("media_files_url_")
    private String mediaFilesUrl;

    /**
     * 逻辑删除标志
     */
    @TableField("is_deleted_")
    @TableLogic(value = "0", delval = "1")
    private Integer isDeleted;

    /**
     * 备注
     */
    @TableField("remark_")
    private String remark;
}
